<?php
//--SEARCH FOR NEW AUTO
?>

<div class="grid_6">
    <div class="tabs tabs_var1">
        <ul class="nav">
            <li class="selected"><a href="#car_tab">Find New Car</a></li>
            <li><a href="#motorcycle_tab">New Motorcycle</a></li>
        </ul>
        <div class="clear"></div>
        <div class="tabs_1">
            <div id="car_tab" class="tab-content">
                <div class="inner" style="height:292px">
                    <form id="form-main" method="post" action="<?= base_url();?>car_search/result">
                        <div class="rowElem">
                            <div class="block-underline">
                                <h2>Find a New Car</h2>
                                <label>This price does not include Insurance,road tax or any other charges levied.
                                Check On-Road price in your City to know final price of the Car.</label>
                            </div>
                             <div class="clear"></div>  
                            
                             
                            <div class="fleft">
                                <label><strong>Budget:</strong></label>
                                <select name="select" >
                                    <option value="" selected>Any Budget</option>
                                    <?php foreach ($car_budget as $car_budget): ?> 
                                        <option value="<?= $car_budget->slno; ?>"><?= $car_budget->description; ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                            <div class="fleft marg_left">
                                <label><strong>Make:</strong></label>
                                <select name="select">
                                    <option value="0" selected>Any Make</option>
                                    <?php foreach ($car_make as $car_make): ?> 
                                        <option value="<?= $car_make->id; ?>"><?= $car_make->make; ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>                                    
                            <div class="clear"></div>        
                        </div>
                        
                       
                        <div class="rowElem">
                            <div class="clear"></div>
                            <a onClick="document.getElementById('form-main').submit()" class="inline-block button_search color_1 bold"><span class="inline-block">Search New Car</span></a>
                        </div>
                        
                        <div> <img src="<?= base_url(); ?>images/advertisement/banner3.jpg" width="500" height="100" alt="" class="fleft"> </div>
                    </form>
                    
                    
                    
                </div>
            </div>

            <div id="two_wheeler_tab" class="tab-content">
                <div class="inner">
                    two Wheeler Tab
                </div>
            </div>
        </div>
    </div>
</div>